<!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>改签申请列表</title>
    <%@include file="common/head.jsp" %>
    <%@include file="common/loginstate.jsp" %>
    <link href="${staticPath}/qtimages/images/apple-touch-icon.png" rel="apple-touch-icon">
    <link href="${staticPath}/qtimages/lib/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <link href="${staticPath}/qtimages/lib/animate/animate.min.css" rel="stylesheet">
    <link href="${staticPath}/qtimages/lib/ionicons/css/ionicons.min.css" rel="stylesheet">
    <link href="${staticPath}/qtimages/lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
    <link href="${staticPath}/qtimages/lib/magnific-popup/magnific-popup.css" rel="stylesheet">
    <link href="${staticPath}/qtimages/lib/ionicons/css/ionicons.min.css" rel="stylesheet">
    <link href="${staticPath}/qtimages/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="${staticPath}/qtimages/css/style.css" rel="stylesheet">
    <link rel="stylesheet" href="${staticPath}/qtimages/css/custom.css">
    <link rel="stylesheet" href="${staticPath}/images/hsgcommon/divqt.css" type="text/css">
</head>
<script type="text/javascript">
    //附件下载
    function down(fujianPath) {
        var url = "${contextPath}/common/download?filename=" + fujianPath;
        url = encodeURI(url);
        window.open(url, "_self");
    }
</script>
<body>
<%@ include file="qttop.jsp" %>
<%@ include file="bht.jsp" %>
<main id="main">
    <section id="services" class="wow fadeInUp">
        <div class="container">
            <div class="section-header">
                <h2>◇◆ 改签申请 ◆◇</h2>
            </div>
            <div class="row">
                <form name="formSearch" id="formSearch" method="post" action="${contextPath}/gaiqianshenqingManaMyQian" style="width:100%">
        姓名:<input type="text" name="xingming" id="xingming" size="15px" value="${req.xingming}"/>&nbsp;&nbsp;
        电话:<input type="text" name="dianhua" id="dianhua" size="15px" value="${req.dianhua}"/>&nbsp;&nbsp;
        身份证号:<input type="text" name="shenfenzhenghao" id="shenfenzhenghao" size="15px" value="${req.shenfenzhenghao}"/>&nbsp;&nbsp;
        原始班次:<input type="text" name="banci" id="banci" size="15px" value="${req.banci}"/>&nbsp;&nbsp;
        改签班次:<input type="text" name="gaiqiancheci" id="gaiqiancheci" size="15px" value="${req.gaiqiancheci}"/>&nbsp;&nbsp;
        备注说明:<input type="text" name="beizhu" id="beizhu" size="15px" value="${req.beizhu}"/>&nbsp;&nbsp;
        是否审核:
        <select name="shenhe" id="shenhe">
            <option value="">全部</option>
            <option value="yes" <c:if test="${req.shenhe == 'yes'}">selected</c:if>>yes</option>
            <option value="no" <c:if test="${req.shenhe == 'no'}">selected</c:if>>no</option>
        </select>&nbsp;&nbsp;
<%--        用户:
        <select name="usersid" id="usersid">
            <option value="">全部</option>
            <c:forEach items="${usersList}" var="s">
                <c:choose>
                    <c:when test="${s.id==req.usersid}">
                        <option value="${s.id}" selected>
                                ${s.loginname }
                        </option>
                    </c:when>
                    <c:otherwise>
                        <option value="${s.id}">
                                ${s.loginname}
                        </option>
                    </c:otherwise>
                </c:choose>
            </c:forEach>
        </select>&nbsp;&nbsp;--%>

                    <input type="submit" name="Submit" value="查找" class='hsgqiehuanshitu'/>
                </form>
                <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" bordercolor="00FFFF"
                       style="border-collapse:collapse" class="newsline">
                    <tr>
                        <td width="40px" align="center" bgcolor="">序号</td>
        <td align="center">姓名</td>
        <td align="center">电话</td>
        <td align="center">身份证号</td>
        <td align="center">原始班次</td>
        <td align="center">改签班次</td>
        <td align="center">备注说明</td>
        <td align="center">时间</td>
        <td align="center">是否审核</td>
        <td align="center">用户</td>

                        <td width="40px" align="center" bgcolor="">详细</td>
                    </tr>
                    <c:forEach items="${pageInfo.records}" var="info" varStatus="s">

                        <tr>
                            <td width="40px" align="center">
                                    ${s.index+1}
                            </td>
            <td bgcolor="#FFFFFF" align="center">
                <c:choose>
                    <c:when test="${fn:length(info.xingming)>'16'}">
                        ${fn:substring(info.xingming,0,16)}...
                    </c:when>
                    <c:otherwise>
                        ${info.xingming}
                    </c:otherwise>
                </c:choose>
            </td>
            <td bgcolor="#FFFFFF" align="center">
                <c:choose>
                    <c:when test="${fn:length(info.dianhua)>'16'}">
                        ${fn:substring(info.dianhua,0,16)}...
                    </c:when>
                    <c:otherwise>
                        ${info.dianhua}
                    </c:otherwise>
                </c:choose>
            </td>
            <td bgcolor="#FFFFFF" align="center">
                <c:choose>
                    <c:when test="${fn:length(info.shenfenzhenghao)>'16'}">
                        ${fn:substring(info.shenfenzhenghao,0,16)}...
                    </c:when>
                    <c:otherwise>
                        ${info.shenfenzhenghao}
                    </c:otherwise>
                </c:choose>
            </td>
            <td bgcolor="#FFFFFF" align="center">
                <c:choose>
                    <c:when test="${fn:length(info.banci)>'16'}">
                        ${fn:substring(info.banci,0,16)}...
                    </c:when>
                    <c:otherwise>
                        ${info.banci}
                    </c:otherwise>
                </c:choose>
            </td>
            <td bgcolor="#FFFFFF" align="center">
                <c:choose>
                    <c:when test="${fn:length(info.gaiqiancheci)>'16'}">
                        ${fn:substring(info.gaiqiancheci,0,16)}...
                    </c:when>
                    <c:otherwise>
                        ${info.gaiqiancheci}
                    </c:otherwise>
                </c:choose>
            </td>
            <td bgcolor="#FFFFFF" align="center">
                <c:choose>
                    <c:when test="${fn:length(info.beizhu)>'16'}">
                        ${fn:substring(info.beizhu,0,16)}...
                    </c:when>
                    <c:otherwise>
                        ${info.beizhu}
                    </c:otherwise>
                </c:choose>
            </td>
            <td bgcolor="#FFFFFF" align="center">
                <c:choose>
                    <c:when test="${fn:length(info.shijian)>'16'}">
                        ${fn:substring(info.shijian,0,16)}...
                    </c:when>
                    <c:otherwise>
                        ${info.shijian}
                    </c:otherwise>
                </c:choose>
            </td>
            <td bgcolor="#FFFFFF" align="center">
                <c:choose>
                    <c:when test="${fn:length(info.shenhe)>'16'}">
                        ${fn:substring(info.shenhe,0,16)}...
                    </c:when>
                    <c:otherwise>
                        ${info.shenhe}
                    </c:otherwise>
                </c:choose>
            </td>
            <td bgcolor="#FFFFFF" align="center">
                <c:choose>
                    <c:when test="${fn:length(info.users.loginname)>'16'}">
                        ${fn:substring(info.users.loginname,0,16)}...
                    </c:when>
                    <c:otherwise>
                        ${info.users.loginname}
                    </c:otherwise>
                </c:choose>
            </td>

                            <td width="40px" align="center">
                                <a href="${contextPath}/gaiqianshenqingDetailQian/${info.id}">
                                    详细
                                </a>
                            </td>
                        </tr>
                    </c:forEach>
                </table>
                <br>
                <%@ include file="common/fenye.jsp"%>
                <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bordercolor="#00FFFF"
                       style="border-collapse:collapse" class="newsline">
                    <tr>
                        <td align="center" bgcolor="">
                            <input type="button" value="返回" style="width: 60px;" onClick="javascript:history.back()" />
                        </td>
                    </tr>
                </table>

            </div>
        </div>
    </section>
    <%@ include file="qtdown.jsp" %>
</main>
</body>
</html>
